<!--
 * @Date: 2023-04-11 09:07:10
 * @LastEditTime: 2023-10-11 16:13:49
 * @FilePath: /wkw/src/tabbar/home/components/taskDynamic.vue
 * 介绍:任务动态
-->
<script lang="ts" setup>
import { ApiHomeData } from "@@/api/module/tabbarPage";

const props = defineProps<{
  task: ApiHomeData.TaskItem[] | undefined;
}>();
</script>

<template>
  <div class="flex-J-SB flex-A-B MT-xl">
    <h3>{{ $t("ren-wu-dong-tai") }}</h3>
    <div @click="$router.replace({ name: 'wk' })" class="T-S-sm C-T3">
      {{ $t("geng-duo") }}
      <VanIcon name="arrow" />
    </div>
  </div>
  <BwkTaskListItem brief :item="item" v-for="item in props.task" />
</template>

<style lang="scss" scoped></style>
